local CommonOHOH = _G.CommonOHOH;
local M = CommonOHOH.class.new(script,script.Parent.base,script.Parent.Name);
local EventList = CommonOHOH.load.EventList();


function M.new(...)
	return M(...);
end;

function M.ctor(self,trianId,obj,player,trainCtrl)

   M.super.ctor(self,trianId,obj,player,player:GetComponent(_G.ServerOHOH.load.Server_PlayerDataComponent()),trainCtrl);

   self:AddPrivateComponentByFolder(script.Parent.ser)

end;


function M.dtor(self)
	M.super.dtor(self);
end

-- 训练对象受伤, 重写基类
function M.Hurt(self)
   if self:IsUnLock() then
      M.super.Hurt(self);
   end
end


return M
